wpforo\classes\Topics D

Total Complexity 474
Dependencies 0
Dependents 1
Total lines 1,685
Lines of code 1,330
Logical lines of code 902
Comment lines 92
Methods 55
Properties 1

Methods 55

Method Rating Maintainability Complexity Lines of code
add()
D
22
63 151
get_topics()
D
23
56 141
edit()
D
24
54 141
split()
C
35 32 73
_get_topic()
B
42 24 44
delete()
B
44 17 37
edit_tags()
A
46 16 35
rebuild_threads()
A
49 14 27
get_tags()
A
44 10 43
sanitize_tags()
A
45 10 42
can_answer()
A
55 10 19
merge()
A
43 8 47
rebuild_first_last()
A
47 8 34
update_tag_in_topics()
A
48 8 32
get_tag()
A
50 8 29
after_delete_user()
A
50 8 28
rebuild_forum_threads()
A
53 8 25
_get_topic_url()
A
56 8 17
view_access()
S
58 8 13
set_status()
S
52 7 22
rebuild_stats()
S
55 7 17
search()
S
51 6 24
members()
S
54 6 20
edit_tag()
S
53 5 22
add_tags()
S
55 5 18
remove_tags()
S
57 4 15
sanitize_tag()
S
60 4 12
get_count()
S
63 4 9
access_filter()
S
66 4 8
is_private()
S
61 3 12
is_closed()
S
61 3 12
is_sticky()
S
61 3 12
delete_attachments()
S
65 3 9
is_unapproved()
S
64 3 9
unique_slug()
S
63 3 9
add_tag()
S
62 3 10
move()
S
60 2 12
get_cache()
S
75 2 4
remove_tag()
S
66 2 8
after_post_status_update()
S
71 2 6
after_delete_post()
S
70 2 6
after_add_post()
S
71 2 6
remove_tag_from_topics()
S
66 2 9
get_forumslug_byid()
S
71 2 5
get_sum_answer()
S
70 2 5
get_forumslug()
S
72 2 5
has_is_answer_post()
S
69 2 6
is_solved()
S
66 2 8
wprivate()
S
67 1 7
get_topic()
S
78 1 3
get_postids()
S
68 1 7
init_hooks()
S
69 1 6
reset()
S
76 1 3
get_topic_url()
S
78 1 3
__construct()
S
83 1 3